﻿using System;
using UnityEngine;

namespace Gameplay
{
    public class InfomediaryAnimation: MonoBehaviour
    {
        public Action OnSkillStartEvent;
        public Action OnSkillTriggerEvent;
        public Action OnSkillFinishEvent;
        public Action OnSkillEndEvent;
        
        public void OnSkillStart()
        {
            OnSkillStartEvent?.Invoke();
        }
        public void OnSkillTrigger()
        {
            OnSkillTriggerEvent?.Invoke();
        }
        public void OnSkillFinish() 
        {
            OnSkillFinishEvent?.Invoke();
        }

        public void OnSkillEnd() 
        {
            OnSkillEndEvent?.Invoke();
        }
    }
}
